package com.mystudy.atomic.atomicReferenceArray;

import org.junit.Assert;
import org.junit.Test;

import java.util.concurrent.atomic.AtomicReferenceArray;

/**
 * TODO:
 *
 * @author acy
 * @since 2019/06/06 17:36
 */
public class AtomicReferenceArrayTest {
	@Test
	public void test() throws Exception{
		AtomicReferenceArray<Integer> referenceArray = new AtomicReferenceArray<>(10);
		Assert.assertEquals(10,referenceArray.length());

	}
}
